package teaching.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data /*自动生成 set get toString方法*/
@NoArgsConstructor //自动生成无参构造函数
@TableName("chapter")
public class Chapter {
    @TableId(type = IdType.AUTO)
    private long id;
    private long cid;
    private String name;
    private String introduction;
    private String video;

}
